window: handle tiled edges separately
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 17 Aug 2017 03:30:31 +0000 (00:30 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 18 Sep 2017 02:16:48 +0000 (23:16 -0300)
commit45f4844880b1cb39a34103aa5abc3e65df5ea58a
tree5576f879f7aa9b3fb43f4b8a606bbeedfef6a331
parent019f0af0ebe15d64e0076a19b158c5826d54e4cf
window: handle tiled edges separately

GTK windows don't have their tiling states really
hooked into the client-side decoration code, and
the only effect it has is disabling the resizing
edges.

With the introduction of per-edge tiling information,
we are backed by much more precise data on how the
window manager wants the app to behave.

This patch, then, fixes GtkWindow to take into account
per-edge tiling information. For compatibility purposes,
the previous tiled field was kept, and thing will just
continue working if no edge information is supplied.

https://bugzilla.gnome.org/show_bug.cgi?id=783669
gtk/gtkwindow.c